<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sun's Storm Online - Trang Liên hệ</title>
<link rel="shortcut icon" href="../Images/Icons/SunstormLogo.gif" />
<link rel="stylesheet" href="../CSS/css_webnews.css"/>
<link href="../Menu_Zing/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="../CSS/wt-rotator.css" rel="stylesheet" type="text/css" />
<link href="../CSS/slider.css" rel="stylesheet" type="text/css" />
<link href="../weather/weather.css" rel="stylesheet" type="text/css" />
<link href="../CSS/black-tie/jquery-ui-1.8.20.custom.css" rel="stylesheet" type="text/css" />
<link href="../CSS/experiment.css" rel="stylesheet" type="text/css" />
 

<script src="../Menu_Zing/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="../Scripts/preview.js" type="text/javascript"></script>
<script src="../Scripts/jquery.wt-rotator.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../Scripts/jquery-ui-1.8.20.custom.js" ></script>
<script language="javascript" src="../weather/js/ajax.js"></script>
<script language="javascript" src="../Scripts/floater_xlib.js"></script>
<script language="javascript" src="../Scripts/Advertise_twoside.js"></script>
<script language="javascript" src="../Scripts/boxover.js"></script>
<script language="javascript" src="../Scripts/jquery.jqDock.min.js"></script>


<style> 

     </style> 
</head>

<body>
<?php 
include("../Connections/connect_client.php");
require_once("include/Advertise_twoside.php");
?>
<div id="main">
  <div class="header"></div>
  <div class="menu"><?php
  $urlAds="../Images/Advertisement/";
  $urlNews="../Images/Img_News/";
  $urlIcon="../Images/Icons/";
  require("../Menu_Zing/Zing/MenuNgang.php"); 
  require("include/JdockMenu.php");
  require("include/Feedback_modal.php");
  ?></div>
   <!----------------------------------------Bar Search + BreadCrumb------------------------------------------------------>
  <div class="searchBar" >
   <form action="SearchNews.php" method="get" id="frmQuicksearch">
    <div class="searchBox" >
        	<input type="text" placeholder="Tìm kiếm..." name="keyword"  />
            <input type="image" src="../Images/Icons/Knob Search.ico" onclick="this.submit();"   />       
    </div>
  	</form>
  </div>
  <!----------------------------------------Content------------------------------------------------------>
  <div class="left">
      <div id="content">
      <!--Start--->
       <div class="divTitle"><span class="titlePage" >Giới thiệu</span></div>  
       <div style=" padding-top:10px; padding-bottom:10px; background-color:#FFF">Trang web này được viết bởi Nguyễn Minh Nhật. Dưới đây là một số thông tin về  tác giả trang web:</div>   
      <div class="tp_content">
    	<div class="top_news" style="width:100%">
        	<a href="#" title="Nguyễn Minh Nhật">
            	<img src="../Images/Img_User/7882_edit.jpg" alt="" style="width:130px; margin:20px" />
            </a>
            <div style="float:left; width:490px;margin-top: 5px;">
            	<table width="100%" border="0" cellspacing="5" cellpadding="2">
                  <tr>
                    <td style="width:110px; font-weight:bold">Họ tên</td>
                    <td>Nguyễn Minh Nhật</td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Năm sinh:</td>
                    <td>1989</td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Tốt nghiệp:</td>
                    <td>Chuyên ngành HTTT-Khoa Tin Học Quản Lý - Đại học Kinh Tế TPHCM</td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Chuyên môn:</td>
                    <td>C#, ASP.Net, ASP.Net MVC, MVP, PHP, WCF, LinQ, SQL Server, MySQL, Jquery, Ajax, CSS, HTML </td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Công việc hiện tại</td>
                    <td>Lập trình viên .Net</td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Sở thích:</td>
                    <td>Đam mê lập trình WEB và các công nghệ liên quan đến WEB, mục tiêu trở thành Web Master trong tương lai</td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Số điện thoại:</td>
                    <td>0908311627</td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Email 1:</td>
                    <td>minhnhat2110@gmail.com</td>
                  </tr>
                  <tr>
                    <td style="font-weight:bold">Email 2:</td>
                    <td>nhatnguyen@dicentral.com.vn</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                </table>


            </div>
        </div>
         <div style="clear:both"></div>
    </div>
    
      
      <!----End--->
      </div>
<!----------------------------------------------End Results----------------------------------------------------->
  </div>
  <div class="right">
  <!----------------------------------------------Weather+Stock----------------------------------------------------->
  	<div id="weather">
    <?php include("../weather/index.php"); ?>
    </div>
   <div id="stock">
    <?php include("include/stock.html"); ?>
    </div> 
   <!----------------------------------------Hot News----------------------------------------->
     <div id="hotnews">
     	<div class="title"></div>
        <div class="hot">
       	  <ul>
          <?php
		  $hotsql="SELECT n.NewsID, n.Title, n.Image FROM news n WHERE n.IsDeleted=0 AND n.IsReview=1 ORDER BY n.Views DESC LIMIT 0,5 ";
		  $reshot=mysql_query($hotsql);
		  while($hot=mysql_fetch_assoc($reshot))
		  {
		  ?>
            	<li> 
                	<img src="<?php echo $urlNews.$hot["Image"]; ?>" alt="" style="width:80px; height:50px" />
                    <a href="Detail.php?id=<?php echo $hot["NewsID"]; ?>"><?php echo $hot["Title"]; ?></a>
                </li>
          <?php
		  }
		  ?>
               
            </ul>
       </div>
    </div>
    <!-----------------------------------Vote---------------------------------------------->
    <div id="vote">
    	<div class="title"></div>
        <div class="hot">
        <form method="get" action="captcha/confirm.php" target="_blank">
        <?php
			$votesql="SELECT v.VoteID, v.VoteName, v.Content FROM vote v WHERE v.IsDeleted=0 AND v.IsEnd=0 ORDER BY v.CreatedDate desc LIMIT 0,1"; 
			$resvote=mysql_query($votesql);
			$vote=mysql_fetch_assoc($resvote);
			echo $vote["Content"];
			
		?>
            <ul>
            <?php
			$vdsql="SELECT v.VoteDetailID, v.Content FROM votedetail v WHERE v.VoteID=".intval($vote["VoteID"])." ORDER BY v.VoteDetailID";
			$resvd=mysql_query($vdsql);
			$k=0;
			while($dt=mysql_fetch_assoc($resvd))
			{
			?>
            	<li><label><input type="radio" name="answer" <?php if($k==0) echo "checked='checked'"; ?> value="<?php echo $dt["VoteDetailID"]; ?>"  /><?php echo $dt["Content"]; ?></label></li>
            <?php
			$k++;
			}
			?>
                <!--<li><label><input type="radio" name="answer" id="cauB" value="" />Đức</label></li>
                <li><label><input type="radio" name="answer" id="cauC" value="" />Pháp</label></li>
                <li><label><input type="radio" name="answer" id="cauD" value="" />Đội bóng khác</label></li> -->
            </ul>
           <?php
			if(mysql_num_rows($resvote)>0)
			{
			?>
            <a id="bieuquyet" target="_blank" href="include/StatisticResult.php?voteid=<?php echo $vote["VoteID"];  ?>">Thống kê</a>&nbsp;&nbsp;<input type="submit" value="Biểu quyết" />
            <?php
			}
			?>
          </form>
       </div>
    </div>
    
    <!-------------------------------------Advertisement-------------------------------------------->
    <div id="advertisement_right">
    	<div class="title"></div>
        <div class="hot">
       	  	
            <ul>
            <?php 
			$query="SELECT a.AdvertiseName, a.FileType, a.FilePath, a.Link FROM advertisement a WHERE a.`Position`=4 AND a.IsDeleted=0 ORDER BY a.CreatedDate desc limit 0,5";
			
			$adver=mysql_query($query);
			while($row=mysql_fetch_assoc($adver))
			{
			
			switch($row['FileType'])
			{
				case 0:
				?>
				 <li><a href="<?php echo $row['Link']; ?>"><img alt="" src="<?php echo $urlAds.$row['FilePath']; ?>"   /></a></li>
				<?php
				break;
				case 1:
				?>
					<object width="250"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
			<param value="quangcao/qc1.swf" name="movie">
			<param value="high" name="quality">
			<embed width="250"  type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" quality="high" src="<?php echo $urlAds.$row['FilePath']; ?>">
			</object>
				<?php
				break;
			}
		
			}
			?>
              
          </ul>
           
       </div>
    </div>
  </div>

  
  
  <!------------------------------Footer--------------------------------------------------->
  <div class="footer">
  	<p>
    	Designed by: Nguyen Minh Nhat<br />
        Email: mimhnhat2110@gmail.com<br />
        Mobile: 0908311627
    </p>
  </div>
</div>

 
</body>
</html>